Phy bandwidth estimation from backpressure patterns

ABSTRACT

The present invention provides a system and method of determining available bandwidth at a physical layer (PHY) device at a server on a broadband network. A link layer controller of a master administrator adaptively polls a PHY device over a set of time intervals. During polling, the controller places a PHY device&#39;s address on a line of a bus and awaits a response from the PHY device. Based upon the response from the PHY device, the administrator can determine whether the PHY device has available bandwidth. The link layer controller uses this information to recalculate its polling scheme to better make use of the available bandwidth over the shared transmission medium to which each PHY device in the network is attached.

FIELD OF THE INVENTION

The invention relates to physical (PHY) device monitoring, andparticularly to monitoring bandwidth in PHY devices.

BACKGROUND OF THE INVENTION

As computer network related technology has become faster and cheaper,higher performance computer networks have spread rapidly. One commonexample of a high performance computer network is a broadband networkdistributed amongst a grouping of consumers used for Internet access.One typical type of a broadband network is a cable-based Internetprovider, such as those provided by television cable companies. Cablenetworks provide affordable, high speed Internet to anyone hardwired toa cable television network. Another typical broadband network is aDigital Subscriber Line (DSL) network, such as those provided bytelephone providers. Similar to a cable network, a DSL network utilizesexisting phone lines to offer a high speed alternative to dial-upInternet access. A third, newer type of broadband network is a wirelessbroadband network such as those provided by wireless telephonecompanies. A user accesses these networks by integrating a wirelessbroadband network card into their computer for receiving broadbandnetwork signals.

While broadband networks provide many benefits to users, such as theaforementioned high speed and low cost, several drawbacks are common.One such drawback is that on a typical broadband network, all consumeror end user devices are connected to a master administrator via aphysical layer (PHY) device at the master administrator. For example, ona typical cable network, each customer is connected to a masteradministrator by a PHY device. Essentially, each PHY device functions asa port used for accessing the network by a client device. Each PHYdevice is connected to control circuitry of the master administrator viaa shared bus. Any information sent to an individual PHY device is sentalong this shared bus. If a target PHY device has low or no bandwidthavailable when a message is sent, then the message cannot be receivedand must be resent, effectively wasting buss time as no other PHY devicecan communicate while the bus is sending a message to another PHYdevice.

One solution to monitoring the bandwidth at each PHY device is atechnique involving constant monitoring of the available bandwidth ateach PHY device such that no transmissions are sent to a PHY device thatis currently unable to receive data. This is done by a masteradministrator that constantly polls (or sends signals to a device andmonitors the device's response) all PHY devices. However, this isresource and time consuming at the master administrator as the masteradministrator is generally required to constantly poll PHY devices. Thistechnique also wastes bandwidth on the bus as polling each devicerequires additional time utilizing the bus. While overall this techniqueachieves the desired goal of monitoring the bandwidth of each availabledevice, the technique necessitates an inefficient use of resourcesavailable in the master administrator.

What is needed is a technique that utilizes dynamic polling monitoredand refined over a period of time such that the typical availablebandwidth of a PHY device can be monitored and utilized to create aschedule. This schedule can be used for transmitting data to a PHYdevice at times when the device is highly likely to be able to receive atransmission.

SUMMARY OF THE INVENTION

The present invention provides a system and method of determiningavailable bandwidth at a physical layer (PHY) device on a broadbandnetwork. A link layer controller of a master administrator adaptivelypolls a PHY device over a set of time intervals. During polling, thecontroller places a PHY device's address on a line of a bus and awaits aresponse from the PHY device. Based upon the response from the PHYdevice, the administrator can determine whether the PHY device hasavailable bandwidth. The link layer controller uses this information torecalculate its polling scheme to better make use of the availablebandwidth over the shared transmission medium to which each PHY devicein the network is attached.

In one embodiment of the present invention, a link layer controller of amaster administrator polls a first PHY device. During polling, the linklayer controller places the address of a first PHY device a line of thebus, and the PHY device responds with an indication of whether itsincoming packet buffer is full. Upon receiving a positive notification (ready to transfer data), the network administration server ceasesfurther polling the device and initiates a data transfer. After a periodof time, the network administration server will again begin polling thefirst PHY device again. As before, the address of the PHY device is sentto the device and an indication is received indicating the current stateof the PHY device's incoming packet buffer. The link layer controllerrepeats the polling of the device until the PHY device responds with anindication that the incoming packet buffer of the PHY device is ready toaccept a new data packet. After several repetitions of these steps, themost efficient polling schedule for that device can be determined, onewhich maximizes the use of the available bandwidth at the PHY devicewithout overfilling the PHY internal buffer, or allowing the incomingpacket buffer to sit empty. This would consist of only one pollingindicating the buffer ready status and eventually an immediatelypreceding polling that would indicate the unavailability of the buffer.This way the accurate moment in time the buffer crosses the threshold cabe determined and also the PHY bandwidth can be extracted.

By extending this polling scheme to each PHY device on the bus, the linklayer controller can accurately determine the available bandwidth ateach PHY device and create a schedule for transmitting data to each PHYdevice that most efficiently utilizes the bandwidth of the sharedtransmission medium each PHY device communicates with the link layercontroller on.

BRIEF DESCRIPTION OF THE FIGURES

FIG. 1 is a diagram of a master administrator.

FIG. 2 is a diagram of a higher level architectural view of a masteradministrator.

FIG. 3 is a flowchart illustrating the process followed in oneembodiment of the present invention.

FIGS. 4 is a timing diagram showing the operation of the presentinvention according to the embodiment of the present inventionillustrated in FIG. 2 and the process described in FIG. 3.

DETAILED DESCRIPTION

The present invention provides a method and system for monitoringavailable bandwidth at physical layer (PHY) devices in a masteradministrator for a broadband network. By adaptively polling the devicesat specific time intervals, a more efficient monitoring procedure can becreated for an individual PHY device that better utilizes availableresources than previous polling procedures. Adaptively polling refers toa polling schedule that can be dynamically altered. If, for example, adevice is found to be sitting idle for long periods of time, its pollingschedule will be altered to eliminate these periods of idleness.

FIG. 1 illustrates a diagram of a typical master administrator 100. Linklayer controller 102 communicates with a series of PHY devices. ThesePHY devices are used by broadband service clients to access theInternet, send and receive email, utilize voice over IP telephoneservice, etc. PHY devices 108-1, 108-2, through 108-n are all operablyconnected to link layer 102, and through bus 106. PHY devices are theactual physical layer connections used by a client to access theavailable network resources. Each PHY device has an incoming packetbuffer which is used to store incoming packets from a client computeruntil the packets can be processed. By monitoring the incoming packetbuffer full level of a PHY device, the master administrator canaccurately predict what the available bandwidth at each PHY device willbe. However, to accurately predict the available bandwidth, the linklayer controller must poll the PHY devices over bus 106. However, sharedbusses, such as bus 106, include inherent scheduling issues. Only onedevice can be polled at a time. By carefully scheduling the polling ofeach PHY device, the efficiency of the shared bus, in this case Bus 106,can be increased.

FIG. 2 shows a more detailed view of master administrator 100, includingthe link layer controller 102. In link layer controller 102, a group oflatency and window width registers (WWR) 204-1, 204-2 through 204-n(corresponding to PHY devices 108-1 through 108-n respectively) store aMaximum Count value (MC) and Window Width Count (WWC) indicating apolling interval for each PHY device. The MC and WWC are played insequence, i.e., WWC is triggered immediately after MC expiration.Polling of a PHY device includes placing the address of the polled PHYdevice on the bus and receiving a response. By monitoring this response,the link layer controller can continually adjust the polling interval todetermine an optimal polling schedule for each individual PHY device.

The latency registers pass the appropriate MC and WWC to the PHYcounters 206-1, 206-2 through 206-n (again, corresponding to PHY devices108-1 through 108-n respectively). Each PHY counter uses the MC and WWCsupplied from the latency register to determine when its individual PHYdevice is to be polled. Once MC timer expires the control unitdetermines if the FFS would be issued or not and continues timing theWWC for the next polling action to determine the FCS moment.

Once a delayed polling request for a new PHY device reaches the top ofthe promiscuous polling queue, i.e., each device scheduled to be polledahead of the new PHY device has been polled, polling is initiated byPolling Queue 208. To initiate polling, the address of the PHY device tobe polled is transmitted on Physical Address line 216 a to indicate to aPHY device that it is being polled. Once the initial signal is sent, thePHY device responds to the polling over CLAV line 216 c. It should benoted that in this example, bus 106 (from FIG. 1) includes linesPhysical Address line 216 a, Data line 216 b and CLAV line 216 c. CLAVis a control signal used by the system to indicate whether the PHYdevice is able to receive packets, or if the device's incoming buffer isfull, rendering the device unable to receive incoming packets. ResponseMeasurement Status register 212 monitors the CLAV signals from each PHYdevice.

Once a CLAV signals for tFFS and tFCS are received from the PHY, theResponse Measurement Status register 212 records the related times ofthe polling from timer 214 and determines an updated MC and WWC values.Once the PHY associated registers have the updated values, they areloaded into associated PC counter upon expiration. The PHY counterrestarts its countdown to zero, starting from the updated MC then isreloaded with WWC and counts down to 0. The cycle repeats. The controlsystem may decide to actually place the CLAV test events on the bus orin the promiscuous sampling queue based on ether events dependency likethe transmission completion of another packet since last poll or when itis preempted by another PHY poll. By constantly monitoring the pollingresults and updating the MC, WWC values, the network administrationserver is better able to schedule data transfers to and from the PHYdevices, since it can accurately monitor the performance (and subsequentbandwidth) of the PHY devices based upon their polling schedules.

FIG. 3 shows a detailed flow chart following one embodiment of a pollingprocess for an individual PHY device. In this embodiment, the pollingprocess of PHY device 108-1 is followed.

In step 302, the PHY counter loads the MC value from the latencyregister. In this example, PHY counter 206-1 will load the stored MCvalue from latency register 204-1. If this is the first time that PHYdevice 108-1 will be polled, a one will be loaded from the latencyregister indicating that one PHY cycle later PHY device 108-1 will beplaced in the polling queue. Once the PHY counter loads the MC valuefrom the latency register, the process continues to step 304.

At step 304, the PHY counter decrements the loaded MC value by one aftereach polling cycle. In present invention, polling cycles are notspecific to any individual PHY device, but rather a polling cycle isanytime a PHY device attached to the network administration server ispolled. After decrementing the stored MC value, the PHY counter checksthe updated value at step 306. If the updated count value is not equalto zero, the process returns to step 304 where the count value is againdecremented. This loop will continue until the count value at the PHYcounter is equal to zero. In the present example, the MC value for PHYdevice 108-1 was initially one, indicating that after one polling cyclethe PHY counter will decrement the MC value to zero.

When the count value at the PHY counter is equal to zero, the processcontinues to step 308. Here, the PHY counter places the address of thePHY device to be polled into the polling queue. In this example, PHYcounter 206-1 places the network address of PHY device 108-1 either ontothe bus or into polling queue 208 if pre-empted by another device beingpolled. If the address is inserted into the polling queue, the PHYdevice will be scanned at the earliest possible cycle.

Once the address of PHY device 108-1 reaches the top of the pollingqueue, the process proceeds to step 310. Here, a new flow beginsindicating a new polling process. To initiate the polling process,Polling Queue 208 places the address of PHY device 108-1 on PhysicalAddress line 216 a. This indicates to each of the PHY devices (108-1through 108-n) that PHY device 108-1 is next to be polled. Polling Queue208 also sends a signal to Response Measurement Status register 212 tobeing monitoring CLAV line 216 c for a response from PHY device 108-1.

Once the Response Measurement Status register 212 has received anindication from the polling queue that PHY device 108-1 is being polled,the process proceeds to step 312. Here, the Response Measurement Statusregister monitors the CLAV line 216 c for a response from PHY device108-1. Once PHY device 108-1 receives its address on Physical Addressline 216 a, it responds by either setting CLAV to a one or to a zero.Once the Response Measurement Status register 212 receives a signal, theprocess splits into one of two possibilities, depending on the response.A one on CLAV line 216 c indicates a positive polling response from PHYdevice 108-1. Conversely, a zero on CLAV line 216 c indicates a negativepolling response from PHY device 108-1 (i.e., the incoming packet bufferof the PHY device was full and the device was unable to accept anyadditional packets). If the CLAV signal is one, the process proceeds tostep 314.

Once the process proceeds to step 314, PHY device 108-1 is removed fromthe polling queue and an updated MC value is calculated. The updated MCvalue is a function of the previous MC value and the previous CLAVresponse for PHY device 108-1.

Once the updated MC value is determined from polling that bypassed thepromiscuous queue (whether the CLAV signal equaled zero or one), theprocess proceeds to step 318. At step 318, the updated MC value ispassed to the latency register 204-1. Once latency register 204-1 hasthe updated MC value, the process returns to step 302 and the entireprocess repeats. By repeating the process multiple times, a schedule canbe determined that optimizes the polling process to avoid missing timeswhen an individual device has available incoming buffer space.

FIG. 4 illustrates a timing diagram of the process described in FIG. 3.The horizontal dotted line 402 indicates the level at which the incomingpacket buffer fills, resulting in a CLAV signal of zero from a polleddevice. Line 404 (the sawtoothed shaped line) indicates the currentlevel of the incoming packet buffer of a PHY device being polled. Signal406 indicates the current level of the CLAV signal, either one or zero.

At point 408, PHY device 108-1 is first polled. During this polling, theincoming packet buffer reaches the point where the CLAV signal is set tozero. At point 410, PHY device 108-1 is polled again. Here, the CLAVsignal is set to zero, indicating a failed polling attempt. After thefailed attempt, PHY device 108-1 is placed again into the polling queueas discussed above with respect to FIG. 3. Between points 410 and 412,PHY device 108-1 is not polled. During this time, the incoming packetbuffer continues to empty as PHY device 108-1 processes the packetsstored in the buffer. During this time, the CLAV signal is reset to oneindicating PHY device 108-1 capable of receiving incoming packets.

At point 412, PHY device 108-1 is again polled. After this polling, theCLAV signal remains set to one resulting in PHY device 108-1 beingpolled again. This continues through points 414, 416 and 418. During thepolling at point 418, the incoming packet buffer reaches its full point,resulting in the CLAV signal being set to zero. At point 420, PHY device108-1 is again polled, responding with a CLAV signal set to zeroindicating a failed polling attempt. As before, PHY device 108-1 isreturned to the polling queue, and at point 422 the polling processrepeats.

By analyzing the time between when the CLAV signal is set to zero(labeled Tn and Tn+1 on the diagram), an updated MC value is calculated.This updated MC value is indicative of the current performance level ofPHY device 108-1.

It should be clear to persons familiar with the related arts that theprocess, procedures and/or steps of the invention described herein canbe performed by a programmed computing device running software designedto cause the computing device to perform the processes, proceduresand/or steps described herein. These processes, procedures and/or stepsalso could be performed by other forms of circuitry including, but notlimited to, application-specific integrated circuits, logic circuits,and state machines.

Having thus described a particular embodiment of the invention, variousalterations, modifications, and improvements will readily occur to thoseskilled in the art. Such alterations, modifications, and improvements asare made obvious by this disclosure are intended to be part of thisdescription though not expressly stated herein, and are intended to bewithin the spirit and scope of the invention. Accordingly, the foregoingdescription is by way of example only, and not limiting. The inventionis limited only as defined in the following claims and equivalentsthereto.

1. A method for determining available bandwidth at a physical layer(PHY) device at a network administration server, the method comprisingthe steps of: polling by a controller said PHY device at predeterminedtime intervals; receiving at said administrator a series of responsesfrom said PHY device; and determining available bandwidth at said PHYdevice based upon said responses.
 2. The method of claim 1, wherein saidpolling comprises transmitting an inquiry as to the status of anincoming packet buffer of said PHY device.
 3. The method of claim 2,wherein said responses from said PHY device are indicative of thecurrent status of said incoming packet buffer.
 4. The method of claim 1further comprising the steps of: comparing said responses to determinean optimized time interval; and polling said PHY device at saidoptimized time interval.
 5. The method of claim 4, wherein saidoptimized time interval is determined based upon the current performancelevel of said PHY device.
 6. The method of claim 5, wherein saidperformance level of said PHY device is determined from the availablebandwidth at said PHY device.
 7. The method of claim 6, wherein said PHYdevice is attached to a common bus shared with a plurality of other PHYdevices.
 8. The method of claim 7, wherein said PHY device and saidplurality of other PHY devices are ports for connecting nodes of abroadband network.
 9. A system for determining available bandwidth at aphysical layer (PHY) device at a network administration servercomprising: a controller for polling said PHY device at predeterminedtime intervals; a PHY device operably connected to said administratorfor responding to said polling with a series of responses; and aresponse measurement unit for receiving said responses from said PHYdevice and determining available bandwidth at said PHY device based uponsaid responses.
 10. The system of claim 9, wherein said pollingcomprises transmitting an inquiry as to the status of an incoming packetbuffer of said PHY device.
 11. The system of claim 10, wherein saidresponses from said PHY device are indicative of the current status ofsaid incoming packet buffer.
 12. The system of claim 9 wherein saidresponse measurement unit is further programmed to compare saidresponses to determine an optimized time interval and instruct saidadministrator to poll said PHY device at said optimized time interval.13. The system of claim 12, wherein said optimized time interval isdetermined based upon the current performance level of said PHY device.14. The system of claim 13, wherein said performance level of said PHYdevice is determined from the available bandwidth at said PHY device.15. The system of claim 14, wherein said PHY device is attached to acommon bus shared with a plurality of other PHY devices.
 16. The systemof claim 15, wherein said PHY device and said plurality of other PHYdevices are ports for connecting nodes of a broadband network.